class Solution(object):
    def categorizeBox(self, length, width, height, mass):
        """
        :type length: int
        :type width: int
        :type height: int
        :type mass: int
        :rtype: str
        """

        is_heavy = False
        is_bulky = False

        if length >= 10 ** 4 or width >= 10 ** 4 or height >= 10 ** 4 or length * width * height >= 10 ** 9:
            is_bulky = True
        if mass >= 100:
            is_heavy = True

        if is_heavy and is_bulky:
            return "Both"
        if not is_heavy and not is_bulky:
            return "Neither"
        if is_heavy:
            return "Heavy"
        if is_bulky:
            return "Bulky"
        return None
